package group.sicher.lock.constant;

/**
 * @description:
 * @author: aron
 * @date: 2019-08-05 15:49
 */
public interface MarsLockConstant {

    /**
     * 默认客户端名字
     */
    String LOCK = "Lock";
    /**
     * 默认SSL实现方式：JDK
     */
    String JDK = "JDK";
    /**
     * 逗号
     */
    String COMMA = ",";
    /**
     * 冒号
     */
    String COLON = ":";
    /**
     * 分号
     */
    String SEMICOLON = ";";
    /**
     * redis默认URL前缀
     */
    String REDIS_URL_PREFIX = "redis://";
    /**
     * 锁的key的分隔符
     */
    String KEY_SPLIT_MARK = ":";
    /**
     * 锁的前缀
     */
    String KEY_PREFIX = "mars"+KEY_SPLIT_MARK+"lock"+KEY_SPLIT_MARK+"key"+KEY_SPLIT_MARK;
}
